//============================================================================
// Name        : ch1_example.cpp
// Author      : Tony
// Version     :
// Copyright   : GPLv2
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
#include "customer.h"

using namespace std;

int main() {
	Customer customer = Customer("Tony");

	customer.addRental(Rental(Movie("dada", Movie::CHILDREN), 5));
	customer.addRental(Rental(Movie("bbbb", Movie::REGULAR), 7));
	customer.addRental(Rental(Movie("cccc", Movie::NEW_RELEASE), 3));

	cout << customer.statement()<< endl;
	return 0;
}
